package org.easy.validator.annotation;


import org.easy.validator.constant.ValidatorConstant;

import java.lang.annotation.*;

@Documented
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface MobileNo {

    String message() default ValidatorConstant.MOBILE_ERROR_MESSAGE;

    boolean required() default true;
}
